package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.responses.ApiResponse;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 审核日志对象 sys_audit_log
 * 
 * @author ruoyi
 * @date 2025-10-27
 */
public class SysAuditLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 审核日志id */
    private Long auditlogId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 事件 */
    @Excel(name = "事件")
    private String event;

    /** 描述 */
    @Excel(name = "描述")
    private String depict;

    /** 操作人 */
    @Excel(name = "操作人")
    private String operator;

    /** 日志时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日志时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date logTime;

    public void setAuditlogId(Long auditlogId) 
    {
        this.auditlogId = auditlogId;
    }

    public Long getAuditlogId() 
    {
        return auditlogId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setEvent(String event) 
    {
        this.event = event;
    }

    public String getEvent() 
    {
        return event;
    }

    public String getDepict() {
        return depict;
    }

    public void setDepict(String depict) {
        this.depict = depict;
    }

    public void setOperator(String operator)
    {
        this.operator = operator;
    }

    public String getOperator() 
    {
        return operator;
    }

    public void setLogTime(Date logTime) 
    {
        this.logTime = logTime;
    }

    public Date getLogTime() 
    {
        return logTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("auditlogId", getAuditlogId())
            .append("userId", getUserId())
            .append("event", getEvent())
            .append("depict", getDepict())
            .append("operator", getOperator())
            .append("logTime", getLogTime())
            .toString();
    }
}
